package com.az.shiro.ice.dao;


import com.az.shiro.ice.domain.Role;
import org.springframework.stereotype.Repository;

public interface RoleDao {

    public Role createRole(Role role);
    public void deleteRole(Long roleId);

    public void correlationPermissions(Long roleId, Long... permissionIds);
    public void uncorrelationPermissions(Long roleId, Long... permissionIds);

}
